package live.jialing.sip.base.rest;

import live.jialing.core.web.controller.SimpleBaseRestController;
import live.jialing.sip.base.domain.Student;
import live.jialing.sip.base.service.StudentService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 学生
 */
@RestController
@RequestMapping(value = "/school/students")
public class StudentRestController extends SimpleBaseRestController<Student, Long> {

    private static Logger logger = LoggerFactory.getLogger(StudentRestController.class);

    @Resource
    private StudentService studentService;

    @Override
    public StudentService getService() {
        return this.studentService;
    }


}
